package com.woniu.hospital.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 出院费用总计对象 discharge
 * 
 * @author wolf-six
 * @date 2023-02-15
 */
public class Discharge extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long dischargeId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String dischargeStatus;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date dischargeTime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal dischargePrice;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long hosptilpriceTypeid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long patientId;
    private String hosptilpriceTypename;
    private String patientName;

    public void setDischargeId(Long dischargeId) 
    {
        this.dischargeId = dischargeId;
    }

    public Long getDischargeId() 
    {
        return dischargeId;
    }
    public void setDischargeStatus(String dischargeStatus )
    {
        this.dischargeStatus = dischargeStatus;
    }

    public String getDischargeStatus()
    {
        return dischargeStatus;
    }
    public void setDischargeTime(Date dischargeTime) 
    {
        this.dischargeTime = dischargeTime;
    }

    public Date getDischargeTime() 
    {
        return dischargeTime;
    }
    public void setDischargePrice(BigDecimal dischargePrice) 
    {
        this.dischargePrice = dischargePrice;
    }

    public BigDecimal getDischargePrice() 
    {
        return dischargePrice;
    }
    public void setHosptilpriceTypeid(Long hosptilpriceTypeid) 
    {
        this.hosptilpriceTypeid = hosptilpriceTypeid;
    }

    public Long getHosptilpriceTypeid() 
    {
        return hosptilpriceTypeid;
    }
    public void setPatientId(Long patientId) 
    {
        this.patientId = patientId;
    }

    public Long getPatientId() 
    {
        return patientId;
    }

    public String getHosptilpriceTypename() {
        return hosptilpriceTypename;
    }

    public void setHosptilpriceTypename(String hosptilpriceTypename) {
        this.hosptilpriceTypename = hosptilpriceTypename;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    /*@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dischargeId", getDischargeId())
            .append("dischargeStatus", getDischargeStatus())
            .append("dischargeTime", getDischargeTime())
            .append("dischargePrice", getDischargePrice())
            .append("hosptilpriceTypeid", getHosptilpriceTypeid())
            .append("patientId", getPatientId())
            .toString();
    }*/

    @Override
    public String toString() {
        return "Discharge{" +
                "dischargeId=" + dischargeId +
                ", dischargeStatus='" + dischargeStatus + '\'' +
                ", dischargeTime=" + dischargeTime +
                ", dischargePrice=" + dischargePrice +
                ", hosptilpriceTypeid=" + hosptilpriceTypeid +
                ", patientId=" + patientId +
                ", hosptilpriceTypename='" + hosptilpriceTypename + '\'' +
                ", patientName='" + patientName + '\'' +
                '}';
    }
}
